<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>My JSP 'customer.jsp' starting page</title>

    <meta name="pragma" content="no-cache">
    <meta name="cache-control" content="no-cache">
    <meta name="expires" content="0">
    <div th:replace="~{commons/script::script}"></div>

</head>
<body>
<div id="tt" class="easyui-tabs" style="width:1500px;height: 100%" >
    <div title="发送短信" data-options="iconCls:'icon-man',plain:true" style="overflow:auto;padding:20px;display:none;">
        <iframe name="note" src="/marketing/toSendMsg" width="1200px" height="100%" frameBorder="0"></iframe>
    </div>
    <div title="短信发件箱" data-options="iconCls:'icon-man',plain:true" style="overflow:auto;padding:20px;display:none;">
        <iframe name="note" src="/marketing/toListMessage" width="1200px" height="100%" frameBorder="0"></iframe>
    </div>
    <div title="发送邮件" style="overflow:auto;padding:20px;display:none;" data-options="iconCls:'icon-man',plain:true">
<!--        <iframe name="send" src="/marketing/toSendMail" width="100%" height="100%" frameBorder="0"></iframe>-->
        <span id="email" class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true">发送邮件</span>
    </div>

</div>
</body>
<script type="text/javascript">
    $(function(){
        //邮件发送
        $("#email").on("click", function (e) {
            location.href = "/marketing/toSendMail";
        })
    })

</script>

</html>
